// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
    name: "StandardUI",
    platforms: [
        .iOS(.v10),
    ],
    products: [
        .library(
            name: "StandardUI",
            targets: ["StandardUI"]
        ),
    ],
    dependencies: [
        .package(url: "https://gitee.com/xiaoke201511/SnapKit.git", from: "5.0.1"),
        .package(url: "https://gitee.com/xiaoke201511/Kingfisher.git", from: "6.2.1"),
        .package(url: "https://gitee.com/xiaoke201511/PullToRefreshKit.git", from: "0.8.9"),
        .package(url: "https://gitee.com/zyiz/IQKeyboardManagerSwift.git", from: "6.5.6"),
        .package(name: "StandardKit", path: "../StandardKit"),
        .package(name: "Router", path: "../Router"),
        .package(name: "ChainKit", path: "../ChainKit"),
        .package(name: "TextInputor", path: "../TextInputor"),
    ],
    targets: [
        .target(
            name: "StandardUI",
            dependencies: [
                "StandardKit",
                "Kingfisher",
                "SnapKit",
                "Router",
                "ChainKit",
                "TextInputor",
                "PullToRefreshKit",
                "IQKeyboardManagerSwift",
            ]
        ),
    ],
    swiftLanguageVersions: [
        .v5,
    ]
)
